# Author: Tylor Zhang
from meet001.meetup.models import Group

def delete_group(id):
  print 'Deleting Group', id
  g = Group.objects.get(pk = id)
  for m in g.meetup_set.all():
    m.comment_board.delete()
  g.comment_board.delete()
